<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<%@page import="java.util.Vector"%>
<%@page import="common.MySearchElement"%>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-16" />
<meta name="description" content="description" />
<meta name="keywords" content="keywords" />
<meta name="author" content="author" />
<link rel="stylesheet" type="text/css" href="default.css" media="screen" />
<title>Skill Management</title>
<script type="text/javascript">
function Popup(nome) {
  var stili = "top=10, left=10, width=400, height=250, status=no, menubar=no, toolbar=no scrollbar=no";
  var testo = window.open("", "", stili);
     testo.document.write("<html>\n");
     testo.document.write(" <head>\n");
     testo.document.write("  <title>Skill Personale</title>\n");
     testo.document.write("  <basefont size=2 face=Tahoma>\n");
     testo.document.write(" </head>\n");
     testo.document.write("<body topmargin=50>\n");
     testo.document.write("<div align=center><b>"+nome+"</b></div>\n");
     testo.document.write("</body>\n");
     testo.document.write("</html>");
}
</script> 
</head>

<body>

<div class="outer-container">

<div class="inner-container">

<div class="header">

<div class="title"><span class="sitename"><a
	href="index.jsp">Skill Management</a></span>
<div class="slogan">Sistemi ad Agenti</div>

</div>

</div>

<div class="path"><a href="index.jsp">Home</a> &#8250; <a
	href="showResults.jsp">Visualizzazione Risultati</a></div>

<div class="main">

<div class="content">
<p />
	<%java.util.Vector<MySearchElement> results = (java.util.Vector<MySearchElement>) session.getAttribute("results");%>
	<%Vector<common.MySkill> skills;
	for (int j = 0; j < results.size(); j++) {
	String text="";%>
		<%=j+1%>.<br/>
		<%skills=results.get(j).inst.getSkills();%>
		<%text += "<br/>Ecco tutte le skill di: "+ results.get(j).inst.getProperyValue(common.SkillManInstance.foafNS+"Person", common.SkillManInstance.foafNS+"name")+"<br/>";%> 
		<% for( int k=0; k<skills.size(); k++ ){
			text+="Nome skill: "+skills.get(k).skill+"<br/>Livello: "+skills.get(k).lvl+"<br/>";
		}%>
		<a href="javascript:Popup('<%=text%>')"><%=results.get(j).inst.getProperyValue(common.SkillManInstance.foafNS+"Person", common.SkillManInstance.foafNS+"name")%></a><br/>
		Affinity: <%=results.get(j).affinity%><br/>
	<%}%>
</div>

<div class="navigation">

<h2>Menu</h2>
<?php
include("menu.php");
?></div>

<div class="clearer">&nbsp;</div>

</div>

<div class="footer"><span class="left"> &copy; 2007 <a
	href="index.jsp">Website.com</a>. Valid <a
	href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &amp; <a
	href="http://validator.w3.org/check?uri=referer">XHTML</a> </span> <span
	class="right"> <a href="http://templates.arcsin.se">Website
template</a> by <a href="http://arcsin.se">Arcsin</a> </span>

<div class="clearer"></div>

</div>

</div>

</div>

</body>

</html>